package com.zwx.bingo.data.body;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zwx.bingo.stateful.body.Body;
import lombok.Data;

import java.util.List;

/**
 * @author zoo
 */
@Data
public class PageResponseBody<T> implements Body {


    @JsonProperty
    private Long page;

    @JsonProperty
    private Long size;

    @JsonProperty
    private Long totalPages;

    @JsonProperty
    private Long totalElements;
    @JsonProperty
    private List<T> items;

}
